
import {createStore,applyMiddleware,combineReducers} from "redux"
import thunk from "redux-thunk";
import count1 from "./reducers/count";
import books1 from "./reducers/books";

const rootReducer = combineReducers({
    count:count1,
    books:books1
})

export default createStore(rootReducer,applyMiddleware(thunk));